package com.fx.spring.annotation;

import com.fx.spring.config.AutoLoaderFxml;
import com.fx.spring.context.ApplicationContextFX;
import com.fx.spring.util.SpringContextUtil;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Configuration
@Import({ApplicationContextFX.class, SpringContextUtil.class, AutoLoaderFxml.class})
public @interface SpringFX {
    /** 启动注解，可自定义 */
    Class<? extends Annotation> startAnnotation() default StartFX.class;
}
